package Demo1;

public class Text {

    public static void main(String[] args) {
        DianNao diannao=new DianNao();
        IUSB usb=new Mouse();
        diannao.usedevice(usb);
        IUSB usb2=new JianPan();
        diannao.usedevice(usb2);

    }

}
